dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Fix LoadBalancer::getMasterPos() callers to handle a non-object being returned"
[lhc/web/wiklou.git]
/
maintenance
/
7zip.inc
diff --git
a/maintenance/7zip.inc
b/maintenance/7zip.inc
index
02156c7
..
751a131
100644
(file)
--- a/
maintenance/7zip.inc
+++ b/
maintenance/7zip.inc
@@
-36,6
+36,7
@@
class SevenZipStream {
private function stripPath( $path ) {
$prefix = 'mediawiki.compress.7z://';
+
return substr( $path, strlen( $prefix ) );
}
@@
-91,4
+92,5
@@
class SevenZipStream {
return fseek( $this->stream, $offset, $whence );
}
}
+
stream_wrapper_register( 'mediawiki.compress.7z', 'SevenZipStream' );